<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div>
        <!--vue 双向绑定 v-model-->
        <input type="text" v-model="info">
        <!--属性绑定是单向绑定-->
        <input type="text" :value="info2">
        <hr>
        <input type="text" placeholder="请输入用户名" v-model="user.username">
        <input type="text" placeholder="请输入密码" v-model="user.password">
    </div>
<script src="vueScript/vue.min.js"></script>
<script>
    let v=new Vue({
        el:"body>div",
        data:{
            info:"hello Vue!!!!!",
            info2:"hello Vue2!!!!!",
            user:{username:"",password:""}
        },
        methods:{

        }
    })
</script>
</body>
</html>